﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kristall.Managers
{
    public class MenuEntry
    {
        public string Text;

        public event EventHandler OnSelect;

        public MenuEntry(string text)
        {
            Text = text;
        }


        public void Select()
        {
            if (OnSelect != null)
            {
                OnSelect(this, null);
            }
        }

    }
}
